package com.example.medicalrecord.AggregationModule.registered.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class RegisteredVo {
    @ApiModelProperty(value = "挂号ID")
    private Long id;
    @ApiModelProperty(value = "挂号科室")
    private String department;
    @ApiModelProperty(value = "医生ID")
    private Long doctorId;
    @ApiModelProperty(value = "状态 3已完成 2已取消 1未完成")
    private String status;
    @ApiModelProperty(value = "患者ID")
    private Long patientId;
    @ApiModelProperty(value = "预约时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date makeTime;
    @ApiModelProperty(value = "门诊收费")
    private double toll;
    @ApiModelProperty(value = "缴费状态")
    private String payStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    //患者姓名和医生姓名
    @ApiModelProperty(value = "医生姓名")
    private String doctorName;
    @ApiModelProperty(value = "患者姓名")
    private String patientName;
}

